/**
 * Copyright (C), 2013-2019, 中商惠民科技有限公司
 * FileName: Book
 * FileName: Book
 * Author:   Eilen
 * Date:     2019/4/25 10:34
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 **/
package com.algorithm.basic;

import lombok.*;

/**
 * 〈describe〉<br>
 * 〈〉
 *
 * @author Eilen
 * @create 2019/4/25
 * @since 1.0.0
 */
@NoArgsConstructor
@Builder
@Data
@ToString
@AllArgsConstructor
public class Book {
    private final static String TAG = "Eilen";

    private String name;
    private String author;

    private String declaredMethod(int index) {
        String string = null;
        switch (index) {
            case 0:
                string = "I am declaredMethod 1 !";
                break;
            case 1:
                string = "I am declaredMethod 2 !";
                break;
            default:
                string = "I am declaredMethod 1 !";
        }

        return string;
    }
}
